package com.ruoyi.project.dict.zicorrectlog.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * 生字勘误对象 zi_correct_log
 *
 * @author shixiangwen
 * @date 2021-10-20
 */
public class ZiCorrectLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    private byte[] ziBytes;

    /**
     * 生字
     */
    @Excel(name = "生字")
    private String zi;

    /**
     * 勘误内容
     */
    @Excel(name = "勘误内容")
    private String content;

    /**
     * 勘误时间
     */
    @Excel(name = "勘误时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /**
     * 勘误人
     */
    @Excel(name = "勘误人")
    private String createdUser;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public byte[] getZiBytes() {
        return ziBytes;
    }

    public void setZiBytes(byte[] ziBytes) {
        this.ziBytes = ziBytes;
    }

    public String getZi() {
        return zi;
    }

    public void setZi(String zi) {
        this.zi = zi;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedUser(String createdUser) {
        this.createdUser = createdUser;
    }

    public String getCreatedUser() {
        return createdUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("zi", getZi())
                .append("content", getContent())
                .append("createdTime", getCreatedTime())
                .append("createdUser", getCreatedUser())
                .toString();
    }
}
